package 实践.class_01;


import java.util.Scanner;

public class Demo1 {
    public static String[] imput(String[] args) {
        String[] a = new String[3];
        Scanner sc = new Scanner(System.in);
        for (int i = 0; i < 3; i++) {
            a[i] = sc.nextLine();
        }
        return a;
    }
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double a = sc.nextInt();
        double b = sc.nextInt();
        double c = sc.nextInt();
        if (a+b > c && a+c > b && b+c > a) {
            System.out.println((double) (a+b+c));
        } else {
            System.out.println("Invalid");
        }
        }
    }

